// 导入基地址
import request from '@/utils/request'

// 获取评论
export const cmtList = (params) => {
    return request({

        url: '/v1_0/comments',
        params
    })
}

// 对文章评论
export const cmtPub = (data) => {
    return request({

        url: '/v1_0/comments',
        method: 'post',
        data
    })
}